package com.yao.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yao.system.entity.JobResume;
import com.yao.system.entity.Result;
import com.yao.system.entity.Resume;

import java.util.Map;
import java.util.Set;

public interface IResumeService extends IService<Resume> {

    Result addResume(Resume resume);

    Result getList();

    Result sendResume(JobResume jobResume);

    Result getSendJobList();

    Result getReceiveResumeList(Integer page, Integer size);

    Map<Long, Resume> getByIds(Set<Long> userIds);

    /**
     * 查询个人简历
     * @return
     */
    Result getMyResume();

    /**
     * 根据id 查询企业收到的简历详情
     * @return
     */
    Result getReceiveResume(Long id);

    Result queryReceiveResumeListByDay();

    Result updateResume(Resume resume);

    Result queryResumeList(Integer page, Integer size);

    Result updateResumeAdmin(Resume resume);
}
